package com.yuwei.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class WordController {

    @RequestMapping("/word")
    public ModelAndView word(){
        ModelAndView mv = new ModelAndView();
        mv.setViewName("word");
        mv.addObject("key",12345);
        return mv;
    }
}
